package com.dci.model.ms.dto;

import com.dci.model.ms.Meta;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * All rights Reserved, Designed By 姑苏区政府大数据中心
 *
 * @version V1.0
 * @Copyright: 2019 姑苏区政府大数据中心
 * @Title: null.java
 * @Package com.acp.domain.dto
 * @Description: 菜单信息DTO
 * @author: 许高峰
 * @date: 2019/5/15 21:15
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class MsMenuInfoDTO {

    private Integer id;

    private Integer pid;

    /**
     * 菜单路径
     */
    private String path;

    /**
     * 菜单组件
     */
    private String component;

    /**
     * 重定向地址
     */
    private String redirect;

    /**
     * 是否隐藏
     */
    private String hidden;

    /**
     * 子菜单集合
     */
    private List<MsMenuInfoDTO> children;

    /**
     * 标题图片对象
     */
    private Meta meta;
}
